@import "~@/styles/theme.less";

.ChainCodeHome {
  padding-bottom: 24px;
  .list-title {
    font-size: 20px;
    font-weight: bold;
    color: #171e2d;
    line-height: 28px;
  }
  .empty-list {
    background-color: #fff;
    border-radius: 2px;
    padding: 32px;
    margin-top: 10px;
  }
  .list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .chaincode-item {
      margin-top: 10px;
      width: calc(50% - 10px);
      background-color: #fff;
      border-radius: 2px;
      padding: 24px;
      color: #333;
    }
    .item-title {
      font-size: 14px;
      font-weight: bold;
      color: #000000;
      line-height: 24px;
      padding-left: 14px;
      position: relative;
      &::before {
        content: "";
        display: block;
        width: 6px;
        height: 16px;
        background: @primary-color;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
      }
    }
    .info-list {
      margin-top: 20px;
    }
    .info-item {
      display: flex;
      align-items: flex-start;
      font-size: 12px;
      & + .info-item {
        margin-top: 8px;
      }
      .title {
        color: rgba(23, 30, 45, 0.45);
        line-height: 22px;
        width: 50px;
      }
      .info-content {
        flex: 1;
        margin-left: 40px;
        line-height: 22px;
        text-align: justify;
      }
    }
    .handle {
      margin-top: 20px;
      .ml15 {
        margin-left: 15px;
      }
      .ant-btn {
        width: 88px;
      }
    }
  }
  .containerList {
    & + .containerList {
      margin-top: 20px;
    }
  }
}
